package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingEventUsersEO;
import com.mjh.zhujianju.vo.party.BuildingEventUsersVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuildingEventUsersMapper extends BaseMapper<BuildingEventUsersEO> {

    /**
     * 根据活动id查询
     * @param list
     * @return
     */
    List<BuildingEventUsersVO> queryBuildingEventUsersVOByEventIds(List<Long> list);

    /**
     * 根据活动id查询
     * @param userId
     * @return
     */
    List<BuildingEventUsersEO> queryBuildingEventUsersByUserId(@Param("userId")Long userId);
}